package com.founder.bdyx.wxpay.domain;

public enum WxApiSharingType {
    /**
     * 请求分账API
     */
    PROFIT_SHARING_ORDERS("/v3/profitsharing/orders"),

    /**
     * 查询分账结果
     */
    PROFIT_SHARING_ORDERS_RESULT("/v3/profitsharing/orders/OUT_ORDER_NO?transaction_id=TRANSACTION_ID"),

    /**
     * 解冻剩余资金
     */
    PROFIT_SHARING_ORDERS_UNFREEZE("/v3/profitsharing/orders/unfreeze"),;

    /**
     * 类型
     */
    private final String type;

    WxApiSharingType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    @Override
    public String toString() {
        return type;
    }
}
